package com.service;

import com.dao.ManagerDao;

import java.util.List;
import java.util.Map;

public class CgLibManagerService {
    private ManagerDao managerDao;

    public ManagerDao getManagerDao() {
        return managerDao;
    }

    public void setManagerDao(ManagerDao managerDao) {
        this.managerDao = managerDao;
    }

    public List<Map<String,String>> findAll(){
        List<Map<String,String>> list = managerDao.findlist();
        list.forEach(System.out::println);
        return list;
    }
}
